package cn.com.dcsgo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ServiceSearchApp
 * 
 * @author Dcsgo
 * @since 2025/04/16 16:47
 */
@EnableFeignClients
@EnableDiscoveryClient //不自动配置数据源(mybatis plus在父工程中导入了，正常情况不配置数据库会无法启动项目)
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class ServiceSearchApp {
    public static void main(String[] args) {
        SpringApplication.run(ServiceSearchApp.class, args);
    }
}
